<template>
  <div>
    <Hear></Hear>
    <daohang></daohang>
  </div>
</template>

<script>


export default {
  name: 'App',
    //创建期
    beforeCreate(){
    console.log('组件创建前');
  },
  created(){
    console.log('组件创建完成');
  },
  //挂载期
  beforeMount(){
    console.log('组件挂载前');
  },
  mounted(){
    console.log('组件挂载已完成');
  },
  //更新期
  beforeUpdate(){
    console.log('更新前');
  },
  updated(){
    console.log('更新完成');
  },
  beforeDestroy(){
    console.log('组件摧毁前');
  },
  destroyed(){
    console.log('组件摧毁完成');
  }
}
</script>

<style>
*{
    padding: 0;
    margin: 0;
}
ul,ol,li{
    list-style: none;
}
a,u{
    text-decoration: none;
}
b,strong{
    font-weight: 400;
}
i,em{
    font-style: normal;
}
h1,h2,h3,h4,h5,h6{
    font-size: 16px;
    font-weight: 400;
}
input{
    border: 0;
    outline: none;
}
</style>
